package io.renren.modules.job.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @Author: CaiXiang
 * @Date: 2019/5/6 16:26
 * @Version 1.0
 * @Description:
 */

@Component("testJob")
public class TestJob implements ITask {
    private Logger logger = LoggerFactory.getLogger(getClass());


    @Override
    public void run(String params) {
        logger.info("测试定时器日志,参数是：" + params + ",时间：" + new Date());
    }
}
